rm manual_levels and replace it with selction of method to use to obtain the zams sequence