rewrote a long switch in mjolnir into a compact loop =)