assign to var to avoid double lookup