Adding maxima and its Dependencies