added cap myaddinstance