added storage and retrieval from session to the population