there is a one pass solution