add sub command and sub contents