code format
example with infinite lists