builder registration logic