TIdy code, add parameters to engine