simplify addTenTimes method