add method to convert user pattern to numbers and return to save or other user