playing with Swift