implimented fill/filln cleaned up dep. code in foreach