The same function is defined again. Should be put into just one module and import it.