generated scaffold for units