choose storage by type
add in memory storage