add variable to simplify view