add group func and cp data up