writing numbers on display