fixed single point problem - added average point