getting ready to add a listener for the database