basic command functionality implemented