refactor using Python