adds commands
refactor