added monitor command.