added command preview