reordering to see what is happening