I have no idea if this is right. just trying to get the console working again.