Learning to use swift