change common function