changed fig to figure