Adding functions to make working with code easier