removed dependency on React