added ignoring extensions