messing with plug ins. fixed loop