increase code quality (deprecate static vars)