index function gives sha1 of abc 
removed bug from getNomineeDetails