Taking a stab at using Swift