Why was this function necessary?