added function to command