When using the example code I get this error when initializing the Factool object. 