calculator exercise, continued