renamed image class to spectrum