select_expression.R has been thoroughly commented