updated queue stuff