add swift changes