start fleshing out swift helpers