Uses built-in find function instead of hand-rolling