changed numberOnScreen to int type - applied simple arithmetic.