structure for saving past commands.