Having fun with Swift