update display color
before refact
init refactor
almost complete refactor
bug in analyse
almost complete