added %%, removed ifs and we're not using puts anymore.