added multiple deployment function