deprecated read functions