add getting data of a command