add spectrum drawing