added html formatting, testing flag