corrected OAL.cpp