seems to work for both Eco and Hpy