working on writing specs and fixing them.