Would be good to add a comment explaining why this is done.