set data from keyboard working good