code based decision making