creating core memories