previous commit tested more or less + visualisation option added finally