add helper to peek and find command name.