Completed stack&queue portion