fixed last exercise