added command history utilities