Checking textbox now works