change instance.id <- get.instance.id() to my.instance.id