please add a comment for the reason why this is necessary