Functional analysis and functional therapy