add post that swift's function