added some content about array and functional approaches