bits and pieces & new class for documentation