added simple command functionality