Update yal.cpp