Second pass. Removing irrelevant parts