if name == main at end