Implemented rex reader