added analysis stuff from my end