added status command.