add options and object mode