accidentally removed init and queue functions from being invoked