added main.m comments