cleaned up code, done for the day.