added sage mode