switched to queue model for te