updated cli helper