aded logged variable