last bit of the skeleton code
Fleshed out the code a little more