I don't exactly understand your question, but I think you want to know how gobies and pistol shrimp form a mutualistic relationship. Basically, the pistol shrimp creates a home in the substrate for the goby, and the goby finds the shrimp food and protects it.