class template builder
mapping design update