Added R+E Logic