factors influencing memory storage