add some small func