solved first 5 problems, but i need to write code for 5th one