changes to decision logic