added functional view
updated section on functional view