an attempt to relieve pain