improved instance management