Logic and syntax erroes