better require config stuff + doc