Refactor centro code