using scaffold to create