diving into swift