added method to iadaptationlogic.