modified configure