add instance vars in preload class