Initial commit for swift version