working with registration process