First cut implementation of swift recipe