working b4 class