more code for number picker implementation