Updated with new parameters and goals.