added db tag + new function to fill detailed registration pattern