add class and pointer