need an explanation of what this does