Added input history