Stimulus --> receptor --> coordinator --> effector --> response. Pin prick --> skin receptors --> sensory neurone --> relay neurone --> motor neurone --> effector muscle --> contraction. The muscle contracts, pulling the arm away from the painful stimulus which protects the body from harm.