changed indentation and variable-regex