added queries to save reservation