This function can be outside of the class.