Sorry I cant get the point, what does this function do actually?