encapsulated some command