do math, get rid of printing