timings and getting phone numbers to/from the database