adjusted coding for main content