added ob_start() so headers work