The purpose of this assignment is to apply a waiting