Added graph parameter
Enable multi-instance capabilities