memory is right that is illegal