added array handling component