nn() now supports lists, tuples etc.