access code check and store
merge