Messy solution to madlib.py