lock-in-spectrum works now (tested with dummy classes)