Changed memory implementation