implemented create puppet mode