Created BaseQueue for flow, still needs to be tested