applied !== in place of !=