Undo changes to prof code bc that didn't work either