this happens more times  through the code.