dummy array moved to function