during that same time , katherine had managed to put herself in ted 's presence a dozen times while they both coached julie 's students ' athletic games , but in dealing with him , she 'd carefully hidden her deeper feelings and tried only to overcome his hostility .