better parsing. scope filtering