added history to cli