move runItem method to base command class