too tired to code missed some semicolons, going to bed.