fixed question
corrected solution