Add beta for sifted pass-through

Add beta for sifted pass-through. Also error and code cleanup.