captcha code modified and almost working