implemented get_decision