add analysis stuff