updated styles to accommodate extra fields