** Some of this can probably be removed**