had an extra )
Cleaned up code, and added some more comments, Done.