wrote an llstat module