moved init after header