Sailor re-written in Swift