pass proper registry