Playing with optmization.