remove the redundant function