added some freezes, to see what happens