I did built in cmd fucntion and the handlers