Make swift work