better python 3 structure