added headers and removed empty lines