stripped validation down to single library file, threw out demos