make compatible with 3.2