add function for before confirming reservation