This is some broken code but it is time for bed...