added simple onCommand