rewrite center with python; bind flow is working