deployer code working