Create Function.swift