first steps on WBT calculation