change chained classes to be more specific