added sophisticated analysis functionality

i really think this added functionality will optimize our UX and takes things up a notch wrt analysis