book meal function worked