finish small func
finish small func