it's in a while(true). at top or bottom doesn't have big different.