some swift experimenting