fruits instance variable in index aciton