cleans up code and scales steps by 10