reference as hash instead of object