Modify the file main.cpp for M487

no such method: tip