Going to redo code and clean it up.