Partially code of Reservation
Merge branch 'master' of https://github.com/MattZhu/mrr