Added rea function