basic command list building, compilation warning remaining