Switch to var where available