implement alternative instance for parser