1. Combine pineapple and jello in saucepan.
2. Stir over low heat until jello is dissolved.
3. Remove from heat.
4. Add sugar, babt food and cream cheese.
5. Mix well but do not beat.
6. Cool slightly until thickened.
7. Fold in Cool Whip.
8. Spoon into 8 inch square pan.
9. Sprinkle with nuts if desired.
10. Chill until firm.