make final function for valid report