moved to Options instead of NewClient