adding object to options