added instance calling

added instance calling