multiple instance support & example