allow for data to be returned by a function