create a wrapper for create tag to bind a data object for created tag