updated styles for papers. Refactored