cleans up campbx code