history only created when user generates a command