[WIP] implement analyzer