barebones for class