small example of swift development