separate method for wait added