reservation client & server side