made some changes to b