added anthony bell's changes