modified headers to fix errors