batman algo added