initialize b properly