Please add an explanation what this method does. By just looking at the function name and the parameters this is not obvious to me.