linearisation tested and working