change extends class