compiled with corrected references