update factory method, nslog, instance variable