Added loki patch