First multiobjective working version.