noodling around with swift language features