fully working version of list containers with log statements