added quote checker