summit prominence : main code