Check for material first