Rewrote lvl to custom data format