End add class and config