getting command queue working