Added single-line search function like I always wanted.