extended a class/short cut code