cleaned up var set code

added multiple inheritance to some exceptions