Working on the api to use options