add snippet sf:static function