works; period searching not happening at all