added logic to decision --KW