reformatted main styles