fixed errors in file B