A compilation of helper functions written in Swift