changed memory to handle timing in the backend