add cmd and expose