A type named 'S' is already declared in the scope at