broke out main(), renamed html