Droped a function out of the class RunCommand