added memoryStorage