finish function of pzctr