terrible code for terrible lectures