cleaned up old check function in queues