prested/messing loop