.deliver method wrong syntax