builds - but incomplete - debugging crash