updated swift guidelines