The function in progress