added sendContent method