The present disclosure describes a method for the recovery of hydrocarbons using a single horizontal well having both injection and production means. A user request to access a content source may be received. Unlike prior systems, the present invention accomplishes the extraction of the top k recommendations of objects without examining a probability for every object that can be recommended. A method of controlling the flow of fluid in a conduit is also provided.