updating to reflect changes to Swift Language