demo scaffolding to class