switch to new pagoda_pattern