Ironedo ut some bugs and made it work.