added various bits and pieces for the fitting bit