added changes to go over all bcs in tfluct