gave result -1 in bookingimpl