playing with swift