Changed function to more apt name