added df_ prefixes for global vars