functions call for booking