added losted code for smartassV2