Initial attempt at queue structure