use util.inherits - this is way nicer