add logule, add util, fix inherit, +test statement