added if 0 then no change - I can't believe I didn't see this before