solution for 5