fixed question 13
question 14, without coalesce funtion