change method call to instance_variable