fragment responding to data sent to it