establishing save reservation function