switch amp on and off implemented