table popoulation works properly