fixed and theoretically working - has not been tested with real instruments