first implemententation of the interaction between the meshes