debug.write("this is the first foo method"); debug.write("this is the second foo method, with arg "+n);