begun implementing 3d support