made review function.