Added skeleton for wait queue