change white to magenta
add ordered dict
simplify communication
autopep8