started implementing a queue