same for the rest of this function