starting to produce bias study code