hits algo added.