removed console.log
test registerType function