changed the rules slightly to a nicer cleaner style