working on issue 16: incomplete function of control command, not done yet, new problem