added more command fundtions