refined out of window behavior