implement some basic command