BROKEN CODE. More debugging.