refined fruit array and foreach