modification for sepeartion in ligandGraphall