updated writing on swift and go