nice job. heres a more simpler one