changed the structure of ListInt