its not as pretty as id like, but it works. Time to go sleep.