working on signal compensation