code cleanup of vanDerCorput