changed to use after class links