trying to weed out errors from console