implemented waiting room