fixed identation and removed c solution