PhOptimization: first module compliant version