added drawing of mass points