finish the contant function