add texture and class