swift has oddities... :(