data is a hashref, not a class