aledotm's patches