added reservation control.
finished reservation process.