change command name. add preview function