use read! instead of deprecated read