added numbers on pan changeable function.