can we put a comment on the purpose of this function?