added method to extract only digits and from number