some util.