Based off of poondog's kangaroo-m7-mkIII source