add util.inherit for easier inheritance