moved rea stuff elsewhere