addding waiting_queue model