main.py: it turns out I'm not that good in boolean logic