change double to object

seems to work