added new EOF significant functions