figuring out queue stuff