is it the try\catch block that's keeping it from validating?