change method in mainscene