living things try to avoid pain