changed api for options -> paramters