added comments to deploy methods