Beginning of 3d module