updated the documentation, command is now a function and method