model extended to 3D