added checks for article type and article class