refactored helper static call, moved to static function