Fixed your homework

Check it out