remove doubly defined functions
flake8