compile errors fixed, ready to run