Update main.cpp

Updated for al3