operator assignment with instance and class variables