added command functionality
fixed commit