modified check_for_theft and the while loop to actully check for theft