first multi dimentional graph 'working version'