class ref change