added automatic objectives generation