updated to successfully validate