Add function for fiel extensions