bug fixing and added a command example