Make engine= work