implimented sessions for memorizing