tried my best to copycat.. Got so caught up in it that I forgot to commit.. But it passed the test.