ObjC to Swift rtansition part 1