add engine support for 3.2. TODO: add test, support 3x and 4