A method of injecting a mixture into an eye includes: providing the mixture in a dispensing chamber with an air gap located between the mixture and an interior surface of a dispensing chamber housing and when the mixture and dispensing chamber housing are near ROOM temperature bringing the dispensing chamber housing and mixture to a temperature range, other than near ROOM temperature and at which the mixture expands and is in a more liquid state maintaining air in a needle after the mixture expands and prior to an injection selecting a drug release rate and injecting the mixture so as to form a shape with a surface area that results in the selected drug release rate.