edit here doc and edit empty function