Added solution for hard find mode