Different approach to queue