added functions

added get_number and get_word functions