exercise13 with errors