prompt gives all information needed to record to database
standard result is added to the database