added new instance support.