compilation, testing, and fixes