small optimization and fix to each method

+ added global identifier of attached lists for easier debugging