add rhewa class for better abstraction