A pragmatic framework for ethical decision making