extension parsing added