moved #deliver to correct controller