buffer method
identation and doctype