removed additional validate calls that I added for debugging purposes.