updated old class