loop thru chars