pass everything to memory