code for other commands added