First try for 3d
Added some tunning